-- GENERATED SPELL FOR [Skybreaker Infiltrator] --


function spell0_32222(pUnit, Event) --@Sinister Strike,n/a--
pUnit:FullCastSpellOnTarget(15667,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32222', 641, 1)
end

function Sorts_32222(pUnit, Event)
local choix_sorts_32222 = math.random(0, 0)
if choix_sorts_32222 == 0 then
pUnit:RegisterEvent('spell0_32222', 1, 1)
end
end

function mob32222_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32222', math.random(1500, 3000), 1)
end

function mob32222_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32222_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32222_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32222, 1, 'mob32222_Action')
RegisterUnitEvent(32222, 2, 'mob32222_Leave')
RegisterUnitEvent(32222, 3, 'mob32222_Kill')
RegisterUnitEvent(32222, 4, 'mob32222_Die')
